<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FBA库存报表</title>
<style type="text/css">
<!--
.STYLE1 {
	color: #FF0000;
	font-weight: bold;
}
-->
</style>
<body class="withvernav">
<style type="text/css">
	thead tr td{
		vertical-align: middle;background-color: #CCCCCC; border: 1px solid #000000 !important ; text-align: center;
	}
	.stdtable tbody tr td {padding:3px 0px !important;}
</style>
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
  <div class="centercontent">
    <div class="pageheader notab">
      <h1 class="pagetitle">交运对帐结果列表</h1>
</div>
<!--pageheader-->
    
    <div id="contentwrapper" class="contentwrapper" >
      <div id="basicform" class="subcontent">
          <!--搜索栏-->
<div class="page">{{$pageList}} 计{{$datatotal}}条记录，共{{$totalpage}}页</div>
    <form class="stdform stdform2" method="get" action="/report/fbaStock">
      <div class="tableoptions"><span style="display:none">所属平台: 
   <select id="platform" name="platform">
            <option value="">-请选择-</option>
            <option value="ebay">ebay</option>
            <option value="Amazon">Amazon</option>
            <option value="1号店">1号店</option>
            <option value="淘宝">淘宝</option>
            <option value="Tmall">Tmall</option>
            <option value="ioffer">ioffer</option>
        </select>
       &nbsp;&nbsp;</span>&nbsp; SKU：<input type="text" name="search_sku" id="search_sku" value="{{$search_sku}}" class="width100">&nbsp;
       销售状态：<select name="selltype" id="selltype">
		  <option value="SELLABLE" {{if $selltype=='SELLABLE'}} selected{{/if}}>可售商品</option>
   		  <option value="UNSELLABLE" {{if $selltype=='UNSELLABLE'}} selected{{/if}}>不可售商品</option>
        </select>
        选择店铺：
       <select name="shopid" id="shopname"  class="selection select2_group" style="width:150px;" >
        <option value="" >店铺</option>
        {{foreach from=$d_shop item=li key=key}}
              <option value="{{$li.id}}" {{if $shop_id==$li.id}} selected{{/if}}>{{$li.name}}</option>
        {{/foreach}}
        </select>   &nbsp; 
        <button class="btn btn_orange btn_search radius50">Search</button>
         &nbsp;&nbsp;
</div>
    </form>
    <!--搜索栏结束-->
             <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
          
            <thead>
              <tr valign="top" class="tableheader">
                <td>NO.</td>
      <td><b>商品编号</b></td>
      <td><b>对帐名称</b></td>
      <td align="center"><b>正确数</b></td>
      <td align="center"><strong>未找到交运数</strong></td>
      <td align="center"><strong>重量差异</strong></td>
      <td align="center"><strong>操作</strong></td>
      </tr>
            </thead>
          
             {{foreach from=$list item=res key=key}}
             <tr>
               <td class="head1" align="center">{{$key+1}}</td>
              <td class="head1" align="center">{{$res.sku}}</td>
                <td class="head0" align="center" title="{{$res.goods_name}}">{{$res.goods_name|getstr:20:0}}</td>
                <td class="head1" align="center">&nbsp;</td>
               <td align="center" class="head1"><strong>{{$res.Quantity_num}}</strong></td>
               <td align="center" class="head1"><strong>{{$res.costprice_num}}</strong></td>
               <td align="center" class="head1"><strong>查看详细</strong></td>
               </tr>
            {{/foreach}}
             <tr>
               <td align="center" class="head1"><strong>合计：</strong></td>
               <td align="center" class="head1">&nbsp;</td>
               <td align="center" class="head0" title="{{$res.goods_name}}">&nbsp;</td>
               <td align="center" class="head1">&nbsp;</td>
               <td align="center" class="head1"><span class="STYLE1">{{$total_stock}}</span></td>
               <td align="center" class="head1" ><span class="STYLE1">{{$total_costprice}}</span></td>
               <td align="center" class="head1" >&nbsp;</td>
               </tr>
          </table>
      </div></div>
<script type="text/javascript" src="/fuman/js/report.js"></script>

</body>
</html>